If you think C++ is on its last legs. Think again.
C++ is extremely scalable and provides developers with extensive control over how their applications consume resources. It is the most complete language ever created. In Stroustrup’s own words “it distinguishes itself by offering both hardware access and abstraction efficiently".
Java became successful because of the help it gave developers out of the box:
All that said its still just as hard to be a true rock star at C++ as it is at Java. It’s just way easier to “get by”.
What give C++ its staying power? All the convenience of Java comes at a cost and that is performance. As Brookes said there is “no such thing as a free lunch” in programming.
Obviously it depends (a lot), but broadly, Java tends to be between 50% and 500% slower than C++ program and use about 500% more memory. The more data you are processing the more these effects come into play, so in extreme cases you will get C++ being many orders of magnitude faster.
This means, that there continues to be a massive demand for C++ developers. To illustrate, here are some of today’s most significant “modern” software built in C++:
Remarkably statisticsanddata.org has C++ holding steady at around the 10% popularity for the last 35 years!
Link to the original article here.